Skip to content

Commit

Permalink
Merge pull request #216064 from Stunkymonkey/treewide-pname-version-1
Browse files Browse the repository at this point in the history
inormalize/minc-widgets/gimp-plugins: use pname & version
  • Loading branch information
Stunkymonkey authored Feb 13, 2023
2 parents 85cdc2a + db348eb commit fb2c37b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 7 additions & 3 deletions pkgs/applications/graphics/gimp/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ in
/* menu:
Video
*/
name = "gap-2.6.0";
pname = "gap";
version = "2.6.0";

src = fetchurl {
url = "https://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2";
sha256 = "1jic7ixcmsn4kx2cn32nc5087rk6g8xsrz022xy11yfmgvhzb0ql";
Expand Down Expand Up @@ -228,7 +230,9 @@ in
/* menu:
Filters/Enhance/Wavelet sharpen
*/
name = "wavelet-sharpen-0.1.2";
pname = "wavelet-sharpen";
version = "0.1.2";

# Workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: interface.o:(.bss+0xe0): multiple definition of `fimg'; plugin.o:(.bss+0x40): first defined here
Expand Down Expand Up @@ -271,7 +275,7 @@ in

gimplensfun = pluginDerivation rec {
version = "unstable-2018-10-21";
name = "gimplensfun-${version}";
pname = "gimplensfun";

src = fetchFromGitHub {
owner = "seebk";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/biology/inormalize/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

stdenv.mkDerivation rec {
pname = "inormalize";
name = "${pname}-2014-10-21";
version = "unstable-2014-10-21";

src = fetchFromGitHub {
owner = "BIC-MNI";
Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/science/biology/minc-widgets/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

stdenv.mkDerivation rec {
pname = "minc-widgets";
name = "${pname}-2016-04-20";

version = "unstable-2016-04-20";

src = fetchFromGitHub {
owner = "BIC-MNI";
Expand Down

0 comments on commit fb2c37b

Please sign in to comment.