summary refs log tree commit diff
path: root/pkgs/tools/audio/mpdris2/default.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-05-23 23:37:33 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-05-25 15:48:05 -0500
commit02297beade7813c6a716e53a5f1373f1123d8753 (patch)
tree6f6f387ca8b053eb5d2ef6f000e7976672d94478 /pkgs/tools/audio/mpdris2/default.nix
parentf22a63d533893b88e4b9d61e66291286ffa6ae92 (diff)
downloadnixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.gz
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.bz2
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.lz
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.xz
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.zst
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.zip
treewide: add version to packages
Lots of packages are missing versions in their name. This adds them
where appropriate. These were found with this command:

 $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$'

See issue #41007.
Diffstat (limited to 'pkgs/tools/audio/mpdris2/default.nix')
-rw-r--r--pkgs/tools/audio/mpdris2/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/audio/mpdris2/default.nix b/pkgs/tools/audio/mpdris2/default.nix
index 6596f1c34ff..93e7afdce41 100644
--- a/pkgs/tools/audio/mpdris2/default.nix
+++ b/pkgs/tools/audio/mpdris2/default.nix
@@ -3,11 +3,12 @@
 }:
 
 stdenv.mkDerivation rec {
-  name = "mpDris2";
+  pname = "mpDris2";
+  name = "${pname}-${version}";
   version = "0.7";
 
   src = fetchurl {
-    url = "https://github.com/eonpatapon/${name}/archive/${version}.tar.gz";
+    url = "https://github.com/eonpatapon/${pname}/archive/${version}.tar.gz";
     sha256 = "095swrjw59lh8qiwmjjjdbxl9587axilkj4mh2sx5m0kiq929z21";
   };