mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
commit
4b72196874
26
pkgs/development/python-modules/distro/11.nix
Normal file
26
pkgs/development/python-modules/distro/11.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "distro";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
buildInputs = [ pytest pytestcov tox];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
touch tox.ini
|
||||||
|
tox
|
||||||
|
'';
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1vn1db2akw98ybnpns92qi11v94hydwp130s8753k6ikby95883j";
|
||||||
|
};
|
||||||
|
|
||||||
|
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/2.nix
Normal file
21
pkgs/development/python-modules/node-semver/2.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv, fetchPypi, buildPythonPackage, pytest, tox }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "0.2.0";
|
||||||
|
pname = "node-semver";
|
||||||
|
|
||||||
|
buildInputs = [ pytest tox ];
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1080pdxrvnkr8i7b7bk0dfx6cwrkkzzfaranl7207q6rdybzqay3";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/podhmo/python-semver;
|
||||||
|
description = "A port of node-semver";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -1,26 +1,28 @@
|
|||||||
{ lib, buildPythonApplication, fetchPypi
|
{ lib, buildPythonApplication, fetchPypi
|
||||||
, requests, fasteners, pyyaml, pyjwt, colorama, patch
|
, requests, fasteners, pyyaml, pyjwt, colorama, patch
|
||||||
, bottle, pluginbase, six, distro, pylint, node-semver
|
, bottle, pluginbase, six, distro11, pylint, node-semver2
|
||||||
, future, pygments, mccabe
|
, future, pygments, mccabe
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
version = "0.28.1";
|
version = "1.1.1";
|
||||||
pname = "conan";
|
pname = "conan";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0zf564iqh0099yd779f9fgk21qyp87d7cmgfj34hmncf8y3qh32a";
|
sha256 = "1k1r401bc9fgmhd5n5f29mjcn346r3zdrm7p28nwpr2r2p3fslrl";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests fasteners pyyaml pyjwt colorama patch
|
requests fasteners pyyaml pyjwt colorama patch
|
||||||
bottle pluginbase six distro pylint node-semver
|
bottle pluginbase six distro11 pylint node-semver2
|
||||||
future pygments mccabe
|
future pygments mccabe
|
||||||
];
|
];
|
||||||
|
|
||||||
# enable tests once all of these pythonPackages available:
|
# enable tests once all of these pythonPackages available:
|
||||||
# [ nose nose_parameterized mock webtest codecov ]
|
# [ nose nose_parameterized mock webtest codecov ]
|
||||||
|
# update 2018-03-11: only nose_parameterized is missing
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -21006,8 +21006,12 @@ EOF
|
|||||||
|
|
||||||
node-semver = callPackage ../development/python-modules/node-semver { };
|
node-semver = callPackage ../development/python-modules/node-semver { };
|
||||||
|
|
||||||
|
node-semver2 = callPackage ../development/python-modules/node-semver/2.nix { };
|
||||||
|
|
||||||
distro = callPackage ../development/python-modules/distro { };
|
distro = callPackage ../development/python-modules/distro { };
|
||||||
|
|
||||||
|
distro11 = callPackage ../development/python-modules/distro/11.nix { };
|
||||||
|
|
||||||
bz2file = callPackage ../development/python-modules/bz2file { };
|
bz2file = callPackage ../development/python-modules/bz2file { };
|
||||||
|
|
||||||
smart_open = callPackage ../development/python-modules/smart_open { };
|
smart_open = callPackage ../development/python-modules/smart_open { };
|
||||||
|
Loading…
Reference in New Issue
Block a user