Skip to content
Merged
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
2 changes: 1 addition & 1 deletion pkgs/applications/altcoins/mist.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ let
});
in
buildFHSUserEnv {
name = "mist-${stdenv.lib.getVersion mist}";
inherit name;

targetPkgs = pkgs: with pkgs; [
mist
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/audio/infamousPlugins/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pkgconfig, cairomm, cmake, lv2, libpthreadstubs, libXdmcp, libXft, ntk, pcre, fftwFloat, zita-resampler }:

stdenv.mkDerivation rec {
name = "infamousPlugins-v${version}";
name = "infamousPlugins-${version}";
version = "0.2.04";

src = fetchFromGitHub {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/audio/swh-lv2/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, fftwSinglePrec, libxslt, lv2, pkgconfig }:

stdenv.mkDerivation rec {
name = "swh-lv2-v${version}";
name = "swh-lv2-${version}";
version = "1.0.16";

src = fetchurl {
Expand Down
10 changes: 5 additions & 5 deletions pkgs/applications/editors/manuskript/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, zlib, fetchFromGitHub, python3Packages }:

python3Packages.buildPythonApplication rec {
name = "manuskript";
pname = "manuskript";
version = "0.3.0";

src = fetchFromGitHub {
repo = name;
repo = pname;
owner = "olivierkes";
rev = version;
sha256 = "0bqxc4a8kyi6xz1zs0dp85wxl9h4v8lzc6073bbcsn1zg4y59ys7";
Expand All @@ -19,15 +19,15 @@ python3Packages.buildPythonApplication rec {

patchPhase = ''
substituteInPlace manuskript/ui/welcome.py \
--replace sample-projects $out/share/${name}/sample-projects
--replace sample-projects $out/share/${pname}/sample-projects
'';

buildPhase = '''';

installPhase = ''
mkdir -p $out/share/${name}
mkdir -p $out/share/${pname}
cp -av bin/ i18n/ libs/ manuskript/ resources/ icons/ $out
cp -r sample-projects/ $out/share/${name}
cp -r sample-projects/ $out/share/${pname}
'';

doCheck = false;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/neovim/neovim-remote.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ with stdenv.lib;

pythonPackages.buildPythonPackage rec {
name = "neovim-remote-${version}";
version = "v1.8.6";
version = "1.8.6";
disabled = !pythonPackages.isPy3k;

src = fetchFromGitHub {
owner = "mhinz";
repo = "neovim-remote";
rev = version;
rev = "v${version}";
sha256 = "0x01zpmxi37jr7j2az2bd8902h7zhkpg6kpvc8xmll9f7703zz2l";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/wxhexeditor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

stdenv.mkDerivation rec {
name = "wxHexEditor-${version}";
version = "v0.24";
version = "0.24";

src = fetchFromGitHub {
repo = "wxHexEditor";
owner = "EUA";
rev = version;
rev = "v${version}";
sha256 = "08xnhaif8syv1fa0k6lc3jm7yg2k50b02lyds8w0jyzh4xi5crqj";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/yi/wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ let
yiEnv = haskellPackages.ghcWithPackages
(self: [ self.yi ] ++ extraPackages self);
in
stdenv.mkDerivation {
name = "yi-custom";
stdenv.mkDerivation rec {
name = "yi-custom-${version}";
version = "0.0.0.1";
unpackPhase = "true";
nativeBuildInputs = [ makeWrapper ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/exrtools/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, openexr, libpng12, libjpeg }:

stdenv.mkDerivation rec {
name = "exrtools";
name = "exrtools-${version}";
version = "0.4";

src = fetchurl {
url = "http://scanline.ca/exrtools/${name}-${version}.tar.gz";
url = "http://scanline.ca/exrtools/${name}.tar.gz";
sha256 = "0jpkskqs1yjiighab4s91jy0c0qxcscwadfn94xy2mm2bx2qwp4z";
};

Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/graphics/gnuclad/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig
{ stdenv, lib, fetchurl, pkgconfig
}:

stdenv.mkDerivation rec {
name = "gnuclad";
name = "gnuclad-${version}";
version = "0.2.4";

src = fetchurl {
url = "https://launchpad.net/gnuclad/trunk/0.2/+download/${name}-${version}.tar.gz";
url = "https://launchpad.net/gnuclad/trunk/${lib.versions.majorMinor version}/+download/${name}.tar.gz";
sha256 = "0ka2kscpjff7gflsargv3r9fdaxhkf3nym9mfaln3pnq6q7fwdki";
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/cura/lulzbot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
9 changes: 4 additions & 5 deletions pkgs/applications/misc/nix-tour/default.nix
Original file line number Diff line number Diff line change
@@ -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";
};

Expand All @@ -34,4 +33,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ qknight ];
};

}
}
4 changes: 2 additions & 2 deletions pkgs/applications/misc/xrandr-invert-colors/default.nix
Original file line number Diff line number Diff line change
@@ -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";
};

Expand Down
7 changes: 4 additions & 3 deletions pkgs/applications/networking/browsers/uzbl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
# but Python 2 + packages during runtime.

stdenv.mkDerivation rec {
name = "uzbl-v0.9.0";
name = "uzbl-${version}";
version = "0.9.0";

meta = with stdenv.lib; {
description = "Tiny externally controllable webkit browser";
Expand All @@ -16,8 +17,8 @@ stdenv.mkDerivation rec {
};

src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/uzbl/uzbl/archive/v0.9.0.tar.gz";
name = "uzbl-v${version}.tar.gz";
url = "https://github.com/uzbl/uzbl/archive/v${version}.tar.gz";
sha256 = "0iskhv653fdm5raiidimh9fzlsw28zjqx7b5n3fl1wgbj6yz074k";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

buildGoPackage rec {
name = "coyim-${version}";
version = "v0.3.7_1";
version = "0.3.7_1";

goPackagePath = "github.com/twstrike/coyim";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let

in
stdenv.mkDerivation rec {
name = "salut-a-toi";
name = "salut-a-toi-${version}";
version = "0.6.1";
pname = "sat-${version}";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/irc/weechat/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ in if configure == null then weechat else
ln -s $plugin $out/plugins
done
'';
in (writeScriptBin "weechat" ''
in (writeScriptBin weechat.name ''
#!${stdenv.shell}
export WEECHAT_EXTRA_LIBDIR=${pluginsDir}
${lib.concatMapStringsSep "\n" (p: lib.optionalString (p ? extraEnv) p.extraEnv) plugins}
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/chemistry/gwyddion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
with stdenv.lib;

stdenv.mkDerivation {
name = "gwyddion";
name = "gwyddion-${version}";
version = "2.48";
src = fetchurl {
url = "http://sourceforge.net/projects/gwyddion/files/gwyddion/2.48/gwyddion-2.48.tar.xz";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/math/ripser/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let
inherit (stdenv.lib) optional;
in
stdenv.mkDerivation {
name = "ripser";
name = "ripser-${version}";
version = "1.0";

src = fetchFromGitHub {
Expand Down
5 changes: 3 additions & 2 deletions pkgs/applications/video/dvd-slideshow/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ let
'';

in stdenv.mkDerivation rec {
name = "dvd-slideshow";
name = "dvd-slideshow-${version}";
version = "0.8.4-2";

src = fetchurl {
url = "mirror://sourceforge/dvd-slideshow/files/${name}-${version}.tar.gz";
url = "mirror://sourceforge/dvd-slideshow/files/${name}.tar.gz";
sha256 = "17c09aqvippiji2sd0pcxjg3nb1mnh9k5nia4gn5lhcvngjcp1q5";
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/video/lightworks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ let

# Lightworks expects some files in /usr/share/lightworks
in buildFHSUserEnv rec {
name = "lightworks-${stdenv.lib.getVersion lightworks}";
name = lightworks.name;

targetPkgs = pkgs: [
lightworks
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/eli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ let
};
in
stdenv.mkDerivation rec {
name = "eli";
name = "eli-${version}";
version = "4.8.1";

src = fetchurl {
url = "mirror://sourceforge/project/eli-project/Eli/Eli%20${version}/eli-${version}.tar.bz2";
url = "mirror://sourceforge/project/eli-project/Eli/Eli%20${version}/${name}.tar.bz2";
sha256="1vran8583hbwrr5dciji4zkhz3f88w4mn8n9sdpr6zw0plpf1whj";
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/red/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, stdenv_32bit, pkgsi686Linux, fetchFromGitHub, fetchurl }:

stdenv.mkDerivation rec {
name = "red-v${version}";
name = "red-${version}";
version = "0.6.3";
src = fetchFromGitHub {
rev = "6a43c767fa2e85d668b83f749158a18e62c30f70";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/cppcms/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake, pcre, zlib, python, openssl }:

stdenv.mkDerivation rec {
name = "cppcms";
name = "cppcms-${version}";
version = "1.0.5";

src = fetchurl {
url = "mirror://sourceforge/cppcms/${name}-${version}.tar.bz2";
url = "mirror://sourceforge/cppcms/${name}.tar.bz2";
sha256 = "0r8qyp102sq4lw8xhrjhan0dnslhsmxj4zs9jzlw75yagfbqbdl4";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/cppdb/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake, sqlite, mysql, postgresql, unixODBC }:

stdenv.mkDerivation rec {
name = "cppdb";
name = "cppdb-${version}";
version = "0.3.1";

src = fetchurl {
url = "mirror://sourceforge/cppcms/${name}-${version}.tar.bz2";
url = "mirror://sourceforge/cppcms/${name}.tar.bz2";
sha256 = "0blr1casmxickic84dxzfmn3lm7wrsl4aa2abvpq93rdfddfy3nn";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/ctpp2/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake }:

stdenv.mkDerivation rec {
name = "ctpp2";
name = "ctpp2-${version}";
version = "2.8.3";

src = fetchurl {
url = "http://ctpp.havoc.ru/download/ctpp2-${version}.tar.gz";
url = "http://ctpp.havoc.ru/download/${name}.tar.gz";
sha256 = "1z22zfw9lb86z4hcan9hlvji49c9b7vznh7gjm95gnvsh43zsgx8";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/cxxtools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

stdenv.mkDerivation rec {
version = "2.2.1";
name = "cxxtools";
name = "cxxtools-${version}";

src = fetchurl {
url = "http://www.tntnet.org/download/${name}-${version}.tar.gz";
url = "http://www.tntnet.org/download/${name}.tar.gz";
sha256 = "0hp3qkyhidxkdf8qgkwrnqq5bpahink55mf0yz23rjd7rpbbdswc";
};

Expand Down
7 changes: 4 additions & 3 deletions pkgs/development/libraries/dleyna-connector-dbus/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, dbus, dleyna-core, glib }:

stdenv.mkDerivation rec {
name = "dleyna-connector-dbus";
pname = "dleyna-connector-dbus";
name = "${pname}-${version}";
version = "0.3.0";

src = fetchFromGitHub {
owner = "01org";
repo = name;
rev = "${version}";
repo = pname;
rev = version;
sha256 = "0vziq5gwjm79yl2swch2mz6ias20nvfddf5cqgk9zbg25cb9m117";
};

Expand Down
5 changes: 3 additions & 2 deletions pkgs/development/libraries/dleyna-core/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, gupnp }:

stdenv.mkDerivation rec {
name = "dleyna-core";
pname = "dleyna-core";
name = "${pname}-${version}";
version = "0.6.0";

src = fetchFromGitHub {
owner = "01org";
repo = name;
repo = pname;
rev = "v${version}";
sha256 = "1x5vj5zfk95avyg6g3nf6gar250cfrgla2ixj2ifn8pcick2d9vq";
};
Expand Down
7 changes: 4 additions & 3 deletions pkgs/development/libraries/dleyna-renderer/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, dleyna-connector-dbus, dleyna-core, gssdp, gupnp, gupnp-av, gupnp-dlna, libsoup, makeWrapper }:

stdenv.mkDerivation rec {
name = "dleyna-renderer";
pname = "dleyna-renderer";
name = "${pname}-${version}";
version = "0.6.0";

src = fetchFromGitHub {
owner = "01org";
repo = name;
rev = "${version}";
repo = pname;
rev = version;
sha256 = "0jy54aq8hgrvzchrvfzqaj4pcn0cfhafl9bv8a9p6j82yjk4pvpp";
};

Expand Down
Loading