nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 821 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 poetry-core, 6 gobject-introspection, 7 gtk3, 8 pycairo, 9 pygobject3, 10 typing-extensions, 11}: 12 13buildPythonPackage rec { 14 pname = "gaphas"; 15 version = "5.1.2"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-XdawWTHzhWqWtiMmm1AYcjG0q/e5hJ9I9+7FKJhWNpY="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 gobject-introspection 26 ]; 27 28 buildInputs = [ gtk3 ]; 29 30 propagatedBuildInputs = [ 31 pycairo 32 pygobject3 33 typing-extensions 34 ]; 35 36 pythonImportsCheck = [ "gaphas" ]; 37 38 meta = { 39 description = "GTK+ based diagramming widget"; 40 homepage = "https://github.com/gaphor/gaphas"; 41 changelog = "https://github.com/gaphor/gaphas/releases/tag/${version}"; 42 license = lib.licenses.asl20; 43 maintainers = [ ]; 44 }; 45}