nixpkgs-suyu/pkgs/development/libraries/libev/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

18 lines
505 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libev";
version="4.27";
src = fetchurl {
url = "http://dist.schmorp.de/libev/Attic/${pname}-${version}.tar.gz";
sha256 = "0kil23cgsp0r5shvnwwbsy7fzxb62sxqzqbkbkfp5w54ipy2cm9d";
};
meta = {
description = "A high-performance event loop/event model with lots of features";
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.bsd2; # or GPL2+
};
}