nixpkgs-suyu/pkgs/development/libraries/libbluedevil/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

20 lines
550 B
Nix

{ stdenv, fetchurl, cmake, qt4 }:
stdenv.mkDerivation rec {
pname = "libbluedevil";
# bluedevil must have the same major version (x.y) as libbluedevil!
# do not update this package without checking bluedevil
version = "2.1";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
sha256 = "0p4f0brhcz9gfxfd6114fa5x6swfdmgzv350xwncdr0s1qnamk8c";
};
buildInputs = [ cmake qt4 ];
meta = {
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2Plus;
};
}