pythonPackages.snapperGUI: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:32:58 -04:00
parent ae3f7898c6
commit a576b19efb
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 31 additions and 21 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchgit
, pygobject3
, dbus-python
}:
buildPythonPackage rec {
name = "Snapper-GUI";
version = "0.1";
src = fetchgit {
url = "https://github.com/ricardomv/snapper-gui";
rev = "11d98586b122180c75a86fccda45c4d7e3137591";
sha256 = "7a9f86fc17dbf130526e70c3e925eac30e2c74d6b932efbf7e7cd9fbba6dc4b1";
};
# no tests available
doCheck = false;
propagatedBuildInputs = [ pygobject3 dbus-python ];
meta = with stdenv.lib; {
homepage = https://github.com/ricardomv/snapper-gui;
description = "Graphical frontend for snapper";
license = licenses.gpl2;
maintainers = with maintainers; [ tstrobel ];
};
}

View File

@ -4353,27 +4353,7 @@ in {
toposort = callPackage ../development/python-modules/toposort { };
snapperGUI = buildPythonPackage rec {
name = "Snapper-GUI";
src = pkgs.fetchgit {
url = "https://github.com/ricardomv/snapper-gui";
rev = "11d98586b122180c75a86fccda45c4d7e3137591";
sha256 = "7a9f86fc17dbf130526e70c3e925eac30e2c74d6b932efbf7e7cd9fbba6dc4b1";
};
# no tests available
doCheck = false;
propagatedBuildInputs = with self; [ pygobject3 dbus-python ];
meta = {
homepage = https://github.com/ricardomv/snapper-gui;
description = "Graphical frontend for snapper";
license = licenses.gpl2;
maintainers = with maintainers; [ tstrobel ];
};
};
snapperGUI = callPackage ../development/python-modules/snappergui { };
uncertainties = callPackage ../development/python-modules/uncertainties { };