summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/proselint
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/tools/text/proselint
parentcff9e6429a4341e924594f5e057b03ca8101b314 (diff)
treewide: name -> pname (easy cases) (#66585)
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
Diffstat (limited to 'pkgs/tools/text/proselint')
-rw-r--r--pkgs/tools/text/proselint/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/proselint/default.nix b/pkgs/tools/text/proselint/default.nix
index c536cbbaaad4..27e9c80bc7d5 100644
--- a/pkgs/tools/text/proselint/default.nix
+++ b/pkgs/tools/text/proselint/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, buildPythonApplication, click, future, six }:
buildPythonApplication rec {
- name = "proselint-${version}";
+ pname = "proselint";
version = "0.10.2";
doCheck = false; # fails to pass because it tries to run in home directory
src = fetchurl {
- url = "mirror://pypi/p/proselint/${name}.tar.gz";
+ url = "mirror://pypi/p/proselint/${pname}-${version}.tar.gz";
sha256 = "017risn0j1bjy9ygzfgphjnyjl4gk7wbrr4qv1vvrlan60wyp1rs";
};