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 changed files with 23 additions and 7 deletions
|
@ -1,18 +1,34 @@
|
|||
{ stdenv, fetchurl, python, pkgconfig, readline, talloc
|
||||
, libxslt, docbook_xsl, docbook_xml_dtd_42
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, python
|
||||
, pkg-config
|
||||
, readline
|
||||
, talloc
|
||||
, libxslt
|
||||
, docbook-xsl-nons
|
||||
, docbook_xml_dtd_42
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tevent-0.9.37";
|
||||
pname = "tevent";
|
||||
version = "0.9.37";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://samba/tevent/${name}.tar.gz";
|
||||
url = "mirror://samba/tevent/${pname}-${version}.tar.gz";
|
||||
sha256 = "1q77vbjic2bb79li2a54ffscnrnwwww55fbpry2kgh7acpnlb0qn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
python readline talloc libxslt docbook_xsl docbook_xml_dtd_42
|
||||
python
|
||||
readline
|
||||
talloc
|
||||
libxslt
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_42
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -26,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An event system based on the talloc memory management library";
|
||||
homepage = https://tevent.samba.org/;
|
||||
homepage = "https://tevent.samba.org/";
|
||||
license = licenses.lgpl3Plus;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue