mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
bcal: modernize
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
@@ -5,12 +5,16 @@
|
||||
readline,
|
||||
bc,
|
||||
python3Packages,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bcal";
|
||||
version = "2.6";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jarun";
|
||||
repo = "bcal";
|
||||
@@ -29,6 +33,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
python3Packages.pytestCheckHook
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
enabledTestPaths = [ "test.py" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user