Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
933 B
Nix
46 lines
933 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
docopt-subcommands,
|
|
future,
|
|
pytestCheckHook,
|
|
hypothesis,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "eseries";
|
|
version = "1.2.1-unstable-2023-12-17";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rob-smallshire";
|
|
repo = "eseries";
|
|
rev = "3becd72de8b1b533b4a637169022231271a934fb"; # no tags
|
|
hash = "sha256-iQBh4L+t24pOBh86wEqu5e6/RUmTQdCX+rOV/H2ywaY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
docopt-subcommands
|
|
future
|
|
];
|
|
|
|
pythonImportsCheck = [ "eseries" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
hypothesis
|
|
];
|
|
|
|
meta = {
|
|
description = "Find value in the E-series used for electronic components values";
|
|
homepage = "https://github.com/rob-smallshire/eseries";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
mainProgram = "eseries";
|
|
};
|
|
}
|