python3Packages.nampa: init at 1.0
This commit is contained in:
parent
202cd8e94b
commit
9c1c556dcf
2 changed files with 43 additions and 0 deletions
41
pkgs/development/python-modules/nampa/default.nix
Normal file
41
pkgs/development/python-modules/nampa/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, future
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nampa";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thebabush";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "14b6xjm497wrfw4kv24zhsvz2l6zknvx36w8i754hfwz3s3fsl6a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/thebabush/nampa/pull/13
|
||||
substituteInPlace setup.py \
|
||||
--replace "0.1.1" "${version}"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "nampa" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the FLIRT technology";
|
||||
homepage = "https://github.com/thebabush/nampa";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -4674,6 +4674,8 @@ in {
|
|||
|
||||
names = callPackage ../development/python-modules/names { };
|
||||
|
||||
nampa = callPackage ../development/python-modules/nampa { };
|
||||
|
||||
nanoleaf = callPackage ../development/python-modules/nanoleaf { };
|
||||
|
||||
nanomsg-python = callPackage ../development/python-modules/nanomsg-python {
|
||||
|
|
Loading…
Reference in a new issue