Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 36 lines 772 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 wheel, 7}: 8 9buildPythonPackage rec { 10 pname = "namex"; 11 version = "0.0.8"; 12 pyproject = true; 13 14 # Not using fetchFromGitHub because the repo does not have any tag/release. 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-MqUPbFZcC7EKp2KYyVlQer3A6FDv4IXcOPNED8s6qQs="; 18 }; 19 20 build-system = [ 21 setuptools 22 wheel 23 ]; 24 25 pythonImportsCheck = [ "namex" ]; 26 27 # This packages has no tests. 28 doCheck = false; 29 30 meta = { 31 description = "Simple utility to separate the implementation of your Python package and its public API surface"; 32 homepage = "https://github.com/fchollet/namex"; 33 license = lib.licenses.asl20; 34 maintainers = with lib.maintainers; [ GaetanLepage ]; 35 }; 36}