tevent: clean up expression
* format with nixpkgs-fmt * quote homepage as per RFC 0045 * split name → pname & version * do not use aliases
This commit is contained in:
parent
9f6db6e754
commit
fa7d35dcbf
@ -1,18 +1,34 @@
|
|||||||
{ stdenv, fetchurl, python, pkgconfig, readline, talloc
|
{ stdenv
|
||||||
, libxslt, docbook_xsl, docbook_xml_dtd_42
|
, fetchurl
|
||||||
|
, python
|
||||||
|
, pkg-config
|
||||||
|
, readline
|
||||||
|
, talloc
|
||||||
|
, libxslt
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, docbook_xml_dtd_42
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "tevent-0.9.37";
|
pname = "tevent";
|
||||||
|
version = "0.9.37";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://samba/tevent/${name}.tar.gz";
|
url = "mirror://samba/tevent/${pname}-${version}.tar.gz";
|
||||||
sha256 = "1q77vbjic2bb79li2a54ffscnrnwwww55fbpry2kgh7acpnlb0qn";
|
sha256 = "1q77vbjic2bb79li2a54ffscnrnwwww55fbpry2kgh7acpnlb0qn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python readline talloc libxslt docbook_xsl docbook_xml_dtd_42
|
python
|
||||||
|
readline
|
||||||
|
talloc
|
||||||
|
libxslt
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_42
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -26,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An event system based on the talloc memory management library";
|
description = "An event system based on the talloc memory management library";
|
||||||
homepage = https://tevent.samba.org/;
|
homepage = "https://tevent.samba.org/";
|
||||||
license = licenses.lgpl3Plus;
|
license = licenses.lgpl3Plus;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user