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