diff --git a/pkgs/development/python-modules/stickytape/default.nix b/pkgs/development/python-modules/stickytape/default.nix new file mode 100644 index 000000000000..71d64e1e7bd8 --- /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 f51a363c2f94..2a07ff705f0b 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 { };