Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: split name into pname/version for unstable packages #88023

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkgs/applications/editors/gobby/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
let
libinf = libinfinity.override { gtkWidgets = true; inherit avahiSupport; };
in stdenv.mkDerivation {
name = "gobby-unstable-2018-04-03";
pname = "gobby-unstable";
version = "2018-04-03";
src = fetchFromGitHub {
owner = "gobby";
repo = "gobby";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/graphics/meh/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, libX11, libXext, libjpeg, libpng, giflib }:

stdenv.mkDerivation {
name = "meh-unstable-2015-04-11";
pname = "meh-unstable";
version = "2015-04-11";

src = fetchFromGitHub {
owner = "jhawthorn";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/graphics/photoflow/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, gettext, glib, libxml2, pkgconfig, swig, automake, gobject-introspection, cmake, ninja, libtiff, libjpeg, fftw, exiv2, lensfun, gtkmm2, libraw, lcms2, libexif, vips, expat, pcre, pugixml }:

stdenv.mkDerivation {
name = "photoflow-unstable-2018-08-28";
pname = "photoflow-unstable";
version = "2018-08-28";

src = fetchFromGitHub {
owner = "aferrero2707";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/colort/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
name = "colort-unstable-2017-03-12";
pname = "colort-unstable";
version = "2017-03-12";

src = fetchFromGitHub {
owner = "neeasade";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/mpvc/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, socat, fetchFromGitHub, makeWrapper }:

stdenv.mkDerivation {
name = "mpvc-unstable-2017-03-18";
pname = "mpvc-unstable";
version = "2017-03-18";

src = fetchFromGitHub {
owner = "wildefyr";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/openbrf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@


mkDerivation {
name = "openbrf-unstable-2016-01-09";
pname = "openbrf-unstable";
version = "2016-01-09";

src = fetchFromGitHub {
owner = "cfcohen";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/speedread/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, perl }:

stdenv.mkDerivation rec {
name = "speedread-unstable-2016-09-21";
pname = "speedread-unstable";
version = "2016-09-21";

src = fetchFromGitHub {
owner = "pasky";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/xrq/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, libX11}:

stdenv.mkDerivation {
name = "xrq-unstable-2016-01-15";
pname = "xrq-unstable";
version = "2016-01-15";

src = fetchFromGitHub {
owner = "arianon";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/irc/qweechat/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchFromGitHub, python27Packages }:

python27Packages.buildPythonApplication rec {
pname = "qweechat-unstable";
version = "2016-07-29";
name = "qweechat-unstable-${version}";
namePrefix = "";
prusnak marked this conversation as resolved.
Show resolved Hide resolved

src = fetchFromGitHub {
src = fetchFromGitHub {
owner = "weechat";
repo = "qweechat";
rev = "f5e54d01691adb3abef47e051a6412186c33313c";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/radio/kalibrate-hackrf/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, fftw, hackrf, libusb1 }:

stdenv.mkDerivation {
name = "kalibrate-hackrf-unstable-20160827";
pname = "kalibrate-hackrf-unstable";
version = "20160827";

# There are no tags/releases, so use the latest commit from git master.
# Currently, the latest commit is from 2016-07-03.
Expand Down
8 changes: 4 additions & 4 deletions pkgs/applications/science/biology/EZminc/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libminc, bicpl, itk4, fftwFloat, gsl }:

stdenv.mkDerivation rec {
pname = "EZminc";
name = "${pname}-unstable-2019-03-12";
pname = "EZminc-unstable";
version = "2019-03-12";

src = fetchFromGitHub {
owner = "BIC-MNI";
repo = pname;
repo = "EZminc";
rev = "5e3333ee356f914d34d66d33ea8df809c7f7fa51";
sha256 = "0wy8cppf5xpgfqvgb3mqs1cjh81n6qzkk6zxv29wvng8nar9wsy4";
};
Expand All @@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;

meta = with stdenv.lib; {
homepage = "https://github.com/BIC-MNI/${pname}";
homepage = "https://github.com/BIC-MNI/EZminc";
description = "Collection of Perl and shell scripts for processing MINC files";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/science/logic/aspino/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ let
in

stdenv.mkDerivation {
name = "aspino-unstable-2017-03-09";
pname = "aspino-unstable";
version = "2017-03-09";

src = fetchFromGitHub {
owner = "alviano";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/science/misc/openmvs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
, gmp, mpfr, glog, gflags, libjpeg_turbo }:

stdenv.mkDerivation {
name = "openmvs-unstable-2018-05-26";
pname = "openmvs-unstable";
version = "2018-05-26";

src = fetchFromGitHub {
owner = "cdcseacave";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/window-managers/bspwm/unstable.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, libxcb, libXinerama, xcbutil, xcbutilkeysyms, xcbutilwm }:

stdenv.mkDerivation {
name = "bspwm-unstable-2016-09-30";
pname = "bspwm-unstable";
version = "2016-09-30";


src = fetchFromGitHub {
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/window-managers/i3/lock-fancy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
}:

stdenv.mkDerivation rec {
rev = "7accfb2aa2f918d1a3ab975b860df1693d20a81a";
name = "i3lock-fancy-unstable-2018-11-25_rev${builtins.substring 0 7 rev}";
pname = "i3lock-fancy-unstable";
version = "2018-11-25";
src = fetchFromGitHub {
owner = "meskarune";
repo = "i3lock-fancy";
inherit rev;
rev = "7accfb2aa2f918d1a3ab975b860df1693d20a81a";
sha256 = "00lqsvz1knb8iqy8lnkn3sf4c2c4nzb0smky63qf48m8za5aw9b1";
};
patchPhase = ''
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/window-managers/lemonbar/xft.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, perl, libxcb, libXft }:

stdenv.mkDerivation {
name = "lemonbar-xft-unstable-2016-02-17";
pname = "lemonbar-xft-unstable";
version = "2016-02-17";

src = fetchFromGitHub {
owner = "krypt-n";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/data/misc/brise/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, librime }:

stdenv.mkDerivation {
name = "brise-unstable-2017-09-16";
pname = "brise-unstable";
version = "2017-09-16";

src = fetchFromGitHub {
owner = "rime";
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/coq-modules/fiat/HEAD.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{stdenv, fetchgit, coq, python27}:

stdenv.mkDerivation rec {

name = "coq-fiat-${coq.coq-version}-unstable-${version}";
pname = "coq-fiat-unstable";
version = "2016-10-24";

src = fetchgit {
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/libraries/bootil/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, fetchpatch, premake4 }:

stdenv.mkDerivation {
name = "bootil-unstable-2015-12-17";
pname = "bootil-unstable";
version = "2015-12-17";

meta = {
description = "Garry Newman's personal utility library";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/libraries/tremor/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchgit, autoreconfHook, pkgconfig, libogg }:

stdenv.mkDerivation {
name = "tremor-unstable-2018-03-16";
pname = "tremor-unstable";
version = "2018-03-16";

src = fetchgit {
url = "https://git.xiph.org/tremor.git";
Expand Down
6 changes: 2 additions & 4 deletions pkgs/development/misc/rpiboot/unstable.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{ stdenv, fetchFromGitHub, libusb1 }:

let
stdenv.mkDerivation {
pname = "rpiboot-unstable";
version = "2018-03-27";
name = "rpiboot-unstable-${version}";
in stdenv.mkDerivation {
inherit name;

src = fetchFromGitHub {
owner = "raspberrypi";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/tools/analysis/pev/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv, openssl, fetchFromGitHub }:
stdenv.mkDerivation {
name = "pev-unstable-2018-07-22";
pname = "pev-unstable";
version = "2018-07-22";
buildInputs = [ openssl ];
src = fetchFromGitHub {
owner = "merces";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/tools/kexpand/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ buildGoPackage, fetchFromGitHub }:

buildGoPackage {
name = "kexpand-unstable-2017-05-12";
pname = "kexpand-unstable";
version = "2017-05-12";

goPackagePath = "github.com/kopeio/kexpand";

Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/tools/manul/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage {
name = "manul-unstable-2016-09-30";
pname = "manul-unstable";
version = "2016-09-30";

goPackagePath = "github.com/kovetskiy/manul";
excludedPackages = "tests";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/games/gmad/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, premake4, bootil }:

stdenv.mkDerivation rec {
name = "gmad-unstable-2015-04-16";
pname = "gmad-unstable";
version = "2015-04-16";

meta = {
description = "Garry's Mod Addon Creator and Extractor";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub }:
with stdenv.lib;
stdenv.mkDerivation {
name = "rtl8192su-unstable-2016-10-05";
pname = "rtl8192su-unstable";
version = "2016-10-05";

src = fetchFromGitHub {
owner = "chunkeey";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/shells/zsh/lambda-mod-zsh-theme/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, zsh }:

stdenv.mkDerivation {
name = "lambda-mod-zsh-theme-unstable-2019-04-17";
pname = "lambda-mod-zsh-theme-unstable";
version = "2019-04-17";

src = fetchFromGitHub {
owner = "halfo";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/tools/audio/picotts/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, popt }:

stdenv.mkDerivation {
name = "picotts-unstable-2018-10-19";
pname = "picotts-unstable";
version = "2018-10-19";
src = fetchFromGitHub {
repo = "picotts";
owner = "naggety";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/inputmethods/skk/skktools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ stdenv.mkDerivation {
sha256 = "11v1i5gkxvfsipigc1w1m16ijzh85drpl694kg6ih4jfam1q4vdh";
};
# # See "12.2. Package naming"
# name = "skktools-unstable-${version}";
# pname = "skktools-unstable";
# version = "2017-03-05";
# src = fetchFromGitHub {
# owner = "skk-dev";
Expand Down
8 changes: 4 additions & 4 deletions pkgs/tools/misc/fasd/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub } :

stdenv.mkDerivation rec {
pname = "fasd";
name = "${pname}-unstable-2016-08-11";
pname = "fasd-unstable";
version = "2016-08-11";

src = fetchFromGitHub {
owner = "clvv";
repo = pname;
repo = "fasd";
rev = "90b531a5daaa545c74c7d98974b54cbdb92659fc";
sha256 = "0i22qmhq3indpvwbxz7c472rdyp8grag55x7iyjz8gmyn8gxjc11";
};
Expand All @@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
'';

meta = {
homepage = "https://github.com/clvv/${pname}";
homepage = "https://github.com/clvv/fasd";
description = "Quick command-line access to files and directories for POSIX shells";
license = stdenv.lib.licenses.mit;

Expand Down
3 changes: 2 additions & 1 deletion pkgs/tools/misc/git-fire/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
name = "git-fire-unstable-2017-08-27";
pname = "git-fire-unstable";
version = "2017-08-27";

src = fetchFromGitHub {
owner = "qw3rtman";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/tools/misc/loop/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage {
name = "loop-unstable-2018-12-04";
pname = "loop-unstable";
version = "2018-12-04";

src = fetchFromGitHub {
owner = "Miserlou";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/tools/misc/xdxf2slob/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, python3Packages }:

python3Packages.buildPythonApplication {
name = "xdxf2slob-unstable-2015-06-30";
pname = "xdxf2slob-unstable";
version = "2015-06-30";

src = fetchFromGitHub {
owner = "itkach";
Expand Down