summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-05-28 13:58:17 -0400
committerGitHub <noreply@github.com>2018-05-28 13:58:17 -0400
commit6cc070df8ab0fa31d9ecfe32f386f5a784db7214 (patch)
treea1a7dba4d7cae86a0815f10de8e7a9b825388de5 /pkgs/applications/misc
parent62b89d768f38d784755d82de6ce6814b3b4ae374 (diff)
parentaf9d10a91b5ef0518ee12b220470735076974210 (diff)
downloadnixlib-6cc070df8ab0fa31d9ecfe32f386f5a784db7214.tar
nixlib-6cc070df8ab0fa31d9ecfe32f386f5a784db7214.tar.gz
nixlib-6cc070df8ab0fa31d9ecfe32f386f5a784db7214.tar.bz2
nixlib-6cc070df8ab0fa31d9ecfe32f386f5a784db7214.tar.lz
nixlib-6cc070df8ab0fa31d9ecfe32f386f5a784db7214.tar.xz
nixlib-6cc070df8ab0fa31d9ecfe32f386f5a784db7214.tar.zst
nixlib-6cc070df8ab0fa31d9ecfe32f386f5a784db7214.zip
Merge pull request #41162 from ryantm/name-format
treewide: fix derivation names
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/cura/lulzbot.nix2
-rw-r--r--pkgs/applications/misc/nix-tour/default.nix9
-rw-r--r--pkgs/applications/misc/xrandr-invert-colors/default.nix4
3 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/applications/misc/cura/lulzbot.nix b/pkgs/applications/misc/cura/lulzbot.nix
index 4d13e62bdfec..341cc8ec2d04 100644
--- a/pkgs/applications/misc/cura/lulzbot.nix
+++ b/pkgs/applications/misc/cura/lulzbot.nix
@@ -4,7 +4,7 @@ let
   py = python27Packages;
 in
 stdenv.mkDerivation rec {
-  name = "cura-lulzbot";
+  name = "cura-lulzbot-${version}";
   version = "15.02.1-1.03-5064";
 
   src =
diff --git a/pkgs/applications/misc/nix-tour/default.nix b/pkgs/applications/misc/nix-tour/default.nix
index 04f10de3d274..7e5a3a7840d7 100644
--- a/pkgs/applications/misc/nix-tour/default.nix
+++ b/pkgs/applications/misc/nix-tour/default.nix
@@ -1,15 +1,14 @@
 { stdenv, fetchgit, electron } :
 
 stdenv.mkDerivation rec {
-  name = "nix-tour";
+  name = "nix-tour-${version}";
+  version = "0.0.1";
 
   buildInputs = [ electron ];
 
-  version = "v0.0.1";
-
   src = fetchgit {
     url = "https://github.com/nixcloud/tour_of_nix";
-    rev = "refs/tags/${version}";
+    rev = "v${version}";
     sha256 = "09b1vxli4zv1nhqnj6c0vrrl51gaira94i8l7ww96fixqxjgdwvb";
   };
 
@@ -34,4 +33,4 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ qknight ];
   };
 
-}
\ No newline at end of file
+}
diff --git a/pkgs/applications/misc/xrandr-invert-colors/default.nix b/pkgs/applications/misc/xrandr-invert-colors/default.nix
index e9bb722dcab0..bb3385ad016a 100644
--- a/pkgs/applications/misc/xrandr-invert-colors/default.nix
+++ b/pkgs/applications/misc/xrandr-invert-colors/default.nix
@@ -1,10 +1,10 @@
 { fetchurl, stdenv, libXrandr}:
 
 stdenv.mkDerivation rec {
-  version = "v0.01";
+  version = "0.01";
   name = "xrandr-invert-colors-${version}";
   src = fetchurl {
-    url = "https://github.com/zoltanp/xrandr-invert-colors/archive/${version}.tar.gz";
+    url = "https://github.com/zoltanp/xrandr-invert-colors/archive/v${version}.tar.gz";
     sha256 = "1z4hxn56rlflvqanb8ncqa1xqawnda85b1b37w6r2iqs8rw52d75";
   };