mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
38 lines
759 B
Nix
38 lines
759 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
|
, pcsclite, talloc, python2, gnutls
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libosmocore";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "osmocom";
|
|
repo = "libosmocore";
|
|
rev = version;
|
|
sha256 = "1ayxpq03mv547sirdy3j9vnsjd1q07adhwwnl3wffz3c39wlax68";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
talloc
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook pkgconfig
|
|
];
|
|
|
|
buildInputs = [
|
|
pcsclite python2 gnutls
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "libosmocore";
|
|
homepage = https://github.com/osmocom/libosmocore;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ mog ];
|
|
};
|
|
}
|