pythonPackages.uptime: refactor move to python-modules
This commit is contained in:
parent
5f58cd99d5
commit
410edb293a
22
pkgs/development/python-modules/uptime/default.nix
Normal file
22
pkgs/development/python-modules/uptime/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "uptime";
|
||||||
|
version = "3.0.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0wr9jkixprlywz0plyn5p42a5fd31aiwvjrxdvj7r02vfxa04c3w";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/Cairnarvon/uptime;
|
||||||
|
description = "Cross-platform way to retrieve system uptime and boot time";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ rob ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4067,22 +4067,7 @@ in {
|
|||||||
|
|
||||||
uproot-methods = callPackage ../development/python-modules/uproot-methods { };
|
uproot-methods = callPackage ../development/python-modules/uproot-methods { };
|
||||||
|
|
||||||
uptime = buildPythonPackage rec {
|
uptime = callPackage ../development/python-modules/uptime { };
|
||||||
name = "uptime-${version}";
|
|
||||||
version = "3.0.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/u/uptime/${name}.tar.gz";
|
|
||||||
sha256 = "0wr9jkixprlywz0plyn5p42a5fd31aiwvjrxdvj7r02vfxa04c3w";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = https://github.com/Cairnarvon/uptime;
|
|
||||||
description = "Cross-platform way to retrieve system uptime and boot time";
|
|
||||||
license = licenses.bsd2;
|
|
||||||
maintainers = with maintainers; [ rob ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
urlgrabber = callPackage ../development/python-modules/urlgrabber {};
|
urlgrabber = callPackage ../development/python-modules/urlgrabber {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user