mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
pythonPackages.distro: init 1.0.3
- tested on darwin - tested on nixos
This commit is contained in:
parent
75f1a55fbe
commit
80c295f50f
26
pkgs/development/python-modules/distro/default.nix
Normal file
26
pkgs/development/python-modules/distro/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "distro";
|
||||
version = "1.0.3";
|
||||
|
||||
buildInputs = [ pytest pytestcov tox];
|
||||
|
||||
checkPhase = ''
|
||||
touch tox.ini
|
||||
tox
|
||||
'';
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1kmjdz1kxspsmps73m2kzhxz86jj43ikx825hmgmwbx793ywv69d";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/nir0s/distro;
|
||||
description = "Linux Distribution - a Linux OS platform information API.";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
};
|
||||
}
|
@ -32191,6 +32191,8 @@ EOF
|
||||
|
||||
nitpick = callPackage ../applications/version-management/nitpick { };
|
||||
|
||||
distro = callPackage ../development/python-modules/distro { };
|
||||
|
||||
});
|
||||
|
||||
in fix' (extends overrides packages)
|
||||
|
Loading…
Reference in New Issue
Block a user