conan: Locally pin deps, enable tests
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "distro";
|
||||
version = "1.2.0";
|
||||
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
{ 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,7 +1,6 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, pytest, tox }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
version = "0.3.0";
|
||||
pname = "node-semver";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user