1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #41118 from ryantm/repology

add dependencies of repology
This commit is contained in:
Robert Schütz 2018-05-27 18:17:00 +02:00 committed by GitHub
commit fc1b5ecc92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, cmake }:
let
version = "2.6.0";
in
stdenv.mkDerivation {
name = "libversion-${version}";
src = fetchFromGitHub {
owner = "repology";
repo = "libversion";
rev = version;
sha256 = "0krhfycva3l4rhac5kx6x1a6fad594i9i77vy52rwn37j62bm601";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
description = "Advanced version string comparison library";
homepage = https://github.com/repology/libversion;
license = with licenses; [ mit ];
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, python, pkgconfig, libversion, pythonOlder }:
buildPythonPackage rec {
pname = "libversion";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "18hhn7b7458lybs8z8ckh0idm7a2g4c4b5v2p9rr0lb618rchvds";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libversion ];
disabled = pythonOlder "3.6";
meta = with stdenv.lib; {
homepage = https://github.com/repology/py-libversion;
description = "Python bindings for libversion, which provides fast, powerful and correct generic version string comparison algorithm";
license = licenses.mit;
maintainers = [ maintainers.ryantm ];
};
}

View file

@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, python, hypothesis }:
buildPythonPackage rec {
pname = "rubymarshal";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "131lbc18s3rlmby2dpbvi4msz13gqw6xvx067mh4zcx9npygn9r2";
};
propagatedBuildInputs = [ hypothesis ];
meta = with stdenv.lib; {
homepage = https://github.com/d9pouces/RubyMarshal/;
description = "Read and write Ruby-marshalled data";
license = licenses.wtfpl;
maintainers = [ maintainers.ryantm ];
};
}

View file

@ -10519,6 +10519,8 @@ with pkgs;
libvdpau-va-gl = callPackage ../development/libraries/libvdpau-va-gl { };
libversion = callPackage ../development/libraries/libversion { };
libvirt = callPackage ../development/libraries/libvirt { };
libvirt-glib = callPackage ../development/libraries/libvirt-glib { };

View file

@ -16241,6 +16241,10 @@ EOF
};
};
libversion = callPackage ../development/python-modules/libversion {
inherit (pkgs) libversion;
};
libvirt = callPackage ../development/python-modules/libvirt {
inherit (pkgs) libvirt;
};
@ -18182,6 +18186,8 @@ EOF
pysdl2 = callPackage ../development/python-modules/pysdl2 { };
pyogg = callPackage ../development/python-modules/pyogg { };
rubymarshal = callPackage ../development/python-modules/rubymarshal { };
});
in fix' (extends overrides packages)