3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.zerobin: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 17:12:21 -04:00
parent 19a50012dc
commit 1a4f32c3f7
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 34 additions and 26 deletions

View file

@ -0,0 +1,33 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, cherrypy
, bottle
, lockfile
, clize
}:
buildPythonPackage rec {
pname = "zerobin";
version = "20160108";
src = fetchFromGitHub {
owner = "sametmax";
repo = "0bin";
rev = "7da1615";
sha256 = "1pzcwy454kn5216pvwjqzz311s6jbh7viw9s6kw4xps6f5h44bid";
};
propagatedBuildInputs = [ cherrypy bottle lockfile clize ];
# zerobin doesn't have any tests, but includes a copy of cherrypy which
# can wrongly fail the check phase.
doCheck = false;
meta = with stdenv.lib; {
description = "A client side encrypted pastebin";
homepage = https://0bin.net/;
license = licenses.wtfpl;
};
}

View file

@ -4565,32 +4565,7 @@ in {
clize = callPackage ../development/python-modules/clize { };
zerobin = buildPythonPackage rec {
name = "zerobin-${version}";
version = "20160108";
src = pkgs.fetchFromGitHub {
owner = "sametmax";
repo = "0bin";
rev = "7da1615";
sha256 = "1pzcwy454kn5216pvwjqzz311s6jbh7viw9s6kw4xps6f5h44bid";
};
propagatedBuildInputs = with self; [
cherrypy
bottle
lockfile
clize
];
# zerobin doesn't have any tests, but includes a copy of cherrypy which
# can wrongly fail the check phase.
doCheck = false;
meta = {
description = "A client side encrypted pastebin";
homepage = https://0bin.net/;
license = licenses.wtfpl;
};
};
zerobin = callPackage ../development/python-modules/zerobin { };
tensorflow-tensorboard = callPackage ../development/python-modules/tensorflow-tensorboard { };