mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #41118 from ryantm/repology
add dependencies of repology
This commit is contained in:
commit
fc1b5ecc92
28
pkgs/development/libraries/libversion/default.nix
Normal file
28
pkgs/development/libraries/libversion/default.nix
Normal 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;
|
||||
};
|
||||
}
|
23
pkgs/development/python-modules/libversion/default.nix
Normal file
23
pkgs/development/python-modules/libversion/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
20
pkgs/development/python-modules/rubymarshal/default.nix
Normal file
20
pkgs/development/python-modules/rubymarshal/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user