depot/third_party/nixpkgs/pkgs/development/python-modules/stickytape/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
803 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "stickytape";
version = "0.2.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mwilliamson";
repo = "stickytape";
rev = "refs/tags/${version}";
hash = "sha256-KOZN9oxPb91l8QVU07I49UMNXqox8j+oekA1fMtj6l8=";
};
build-system = [ setuptools ];
# 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 = licenses.bsd2;
maintainers = with maintainers; [ fab ];
mainProgram = "stickytape";
};
}