diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-11 14:12:22 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-12-11 10:21:22 -0800 |
commit | d2b5486ae949b9092b4f56c93d694cbea09c05a6 (patch) | |
tree | b7652584f68e278e0e72fc71b20e8e9323ab6810 | |
parent | 624ecbbcaa6d25d8bc05a61e3ec9d5a3b43fb837 (diff) |
python3Packages.stickytape: init at 0.2.1
-rw-r--r-- | pkgs/development/python-modules/stickytape/default.nix | 37 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/stickytape/default.nix b/pkgs/development/python-modules/stickytape/default.nix new file mode 100644 index 0000000000000..71d64e1e7bd80 --- /dev/null +++ b/pkgs/development/python-modules/stickytape/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, nose +, pytestCheckHook +, pythonOlder +, spur +}: + +buildPythonPackage rec { + pname = "stickytape"; + version = "0.2.1"; + format = "setuptools"; + + disabled = pythonOlder "3.4"; + + src = fetchFromGitHub { + owner = "mwilliamson"; + repo = pname; + rev = version; + sha256 = "sha256-KOZN9oxPb91l8QVU07I49UMNXqox8j+oekA1fMtj6l8="; + }; + + # Tests have additional requirements + doCheck = false; + + pythonImportsCheck = [ + "stickytape" + ]; + + meta = with lib; { + description = "Python module to convert Python packages into a single script"; + homepage = "https://github.com/mwilliamson/stickytape"; + license = with licenses; [ bsd2 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f51a363c2f948..2a07ff705f0bb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9141,6 +9141,8 @@ in { stevedore = callPackage ../development/python-modules/stevedore { }; + stickytape = callPackage ../development/python-modules/stickytape { }; + stm32loader = callPackage ../development/python-modules/stm32loader { }; stone = callPackage ../development/python-modules/stone { }; |