summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libcap-ng
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-08-15 12:41:18 +0000
committerJörg Thalheim <Mic92@users.noreply.github.com>2019-08-15 13:41:18 +0100
commit46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6 (patch)
tree46b871987347acf0215f8a9bf54df275aed9c496 /pkgs/os-specific/linux/libcap-ng
parentcff9e6429a4341e924594f5e057b03ca8101b314 (diff)
downloadnixpkgs-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar
nixpkgs-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.gz
nixpkgs-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.bz2
nixpkgs-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.lz
nixpkgs-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.xz
nixpkgs-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.zst
nixpkgs-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.zip
treewide: name -> pname (easy cases) (#66585)
treewide replacement of

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

to pname
Diffstat (limited to 'pkgs/os-specific/linux/libcap-ng')
-rw-r--r--pkgs/os-specific/linux/libcap-ng/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/libcap-ng/default.nix b/pkgs/os-specific/linux/libcap-ng/default.nix
index 981e928ba65..d0fc97d0dd3 100644
--- a/pkgs/os-specific/linux/libcap-ng/default.nix
+++ b/pkgs/os-specific/linux/libcap-ng/default.nix
@@ -3,13 +3,13 @@
 assert python2 != null || python3 != null -> swig != null;
 
 stdenv.mkDerivation rec {
-  name = "libcap-ng-${version}";
+  pname = "libcap-ng";
   # When updating make sure to test that the version with
   # all of the python bindings still works
   version = "0.7.9";
 
   src = fetchurl {
-    url = "${meta.homepage}/${name}.tar.gz";
+    url = "${meta.homepage}/${pname}-${version}.tar.gz";
     sha256 = "0a0k484kwv0zilry2mbl9k56cnpdhsjxdxin17jas6kkyfy345aa";
   };