commit
300c59c7fc
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 ];
|
||||||
|
};
|
||||||
|
}
|
21
pkgs/development/python-modules/node-semver/default.nix
Normal file
21
pkgs/development/python-modules/node-semver/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv, fetchPypi, buildPythonPackage, pytest, tox }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "0.1.1";
|
||||||
|
pname = "node-semver";
|
||||||
|
|
||||||
|
buildInputs = [ pytest tox ];
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1b3xiqgl436q33grbkh4chpfchl8i2dmcpggbb2q4vgv3vjy97p2";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/podhmo/python-semver;
|
||||||
|
description = "A port of node-semver";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
21
pkgs/development/python-modules/pluginbase/default.nix
Normal file
21
pkgs/development/python-modules/pluginbase/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv, fetchPypi, buildPythonPackage, pytest, tox }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "0.5";
|
||||||
|
pname = "pluginbase";
|
||||||
|
|
||||||
|
buildInputs = [ pytest tox ];
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1palagrlszs4f4f5j6npzl4d195vclrlza3qr524z2h758j31y5l";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/mitsuhiko/pluginbase;
|
||||||
|
description = "A support library for building plugins sytems in Python";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
28
pkgs/development/tools/build-managers/conan/default.nix
Normal file
28
pkgs/development/tools/build-managers/conan/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, pythonPackages }:
|
||||||
|
|
||||||
|
pythonPackages.buildPythonApplication rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "0.21.2";
|
||||||
|
pname = "conan";
|
||||||
|
|
||||||
|
src = pythonPackages.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0x9s5h81d885xdrjw5x99q18lhmj11kalrs6xnjy2phrr8qzil8c";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
|
requests2 fasteners pyyaml pyjwt colorama patch
|
||||||
|
bottle pluginbase six distro pylint node-semver
|
||||||
|
];
|
||||||
|
|
||||||
|
# enable tests once all of these pythonPackages available:
|
||||||
|
# [ nose nose_parameterized mock WebTest codecov ]
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://conan.io;
|
||||||
|
description = "Decentralized and portable C/C++ package manager";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -6407,6 +6407,8 @@ with pkgs;
|
|||||||
|
|
||||||
complexity = callPackage ../development/tools/misc/complexity { };
|
complexity = callPackage ../development/tools/misc/complexity { };
|
||||||
|
|
||||||
|
conan = callPackage ../development/tools/build-managers/conan { };
|
||||||
|
|
||||||
cookiecutter = pythonPackages.cookiecutter;
|
cookiecutter = pythonPackages.cookiecutter;
|
||||||
|
|
||||||
ctags = callPackage ../development/tools/misc/ctags { };
|
ctags = callPackage ../development/tools/misc/ctags { };
|
||||||
|
@ -32190,6 +32190,12 @@ EOF
|
|||||||
|
|
||||||
nitpick = callPackage ../applications/version-management/nitpick { };
|
nitpick = callPackage ../applications/version-management/nitpick { };
|
||||||
|
|
||||||
|
pluginbase = callPackage ../development/python-modules/pluginbase { };
|
||||||
|
|
||||||
|
node-semver = callPackage ../development/python-modules/node-semver { };
|
||||||
|
|
||||||
|
distro = callPackage ../development/python-modules/distro { };
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
in fix' (extends overrides packages)
|
in fix' (extends overrides packages)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user