treewide: simplify rev/repo arguments in src

+ use fetchFromGithub where possible
This commit is contained in:
Pavol Rusnak 2020-11-01 23:39:49 +01:00 committed by Jonathan Ringer
parent c6afa8820b
commit 2c931312ce
86 changed files with 148 additions and 134 deletions

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sjaehn"; owner = "sjaehn";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"; sha256 = "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j";
}; };

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sjaehn"; owner = "sjaehn";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "0hagnn104ybzdp13r95idw20fhmzif8p3kmiypnr20m6c64rdd29"; sha256 = "0hagnn104ybzdp13r95idw20fhmzif8p3kmiypnr20m6c64rdd29";
}; };

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sjaehn"; owner = "sjaehn";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "1f7xrljvsy7a1p8c7wln2zhwarl3ara7gbjxkpyh47wfdpigpdb0"; sha256 = "1f7xrljvsy7a1p8c7wln2zhwarl3ara7gbjxkpyh47wfdpigpdb0";
}; };

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fabiocolacio"; owner = "fabiocolacio";
repo = "Marker"; repo = "Marker";
rev = "${version}"; rev = version;
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "1iy7izyprf050bix8am1krqivgyxnhx3jm775v8f80cgbqxy7m5r"; sha256 = "1iy7izyprf050bix8am1krqivgyxnhx3jm775v8f80cgbqxy7m5r";
}; };

View File

@ -74,7 +74,7 @@ in mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "drawpile"; owner = "drawpile";
repo = "drawpile"; repo = "drawpile";
rev = "${version}"; rev = version;
sha256 = "sha256-AFFY+FcY9ExAur13OoWR9285RZtBe6jnRIrwi5raiCM="; sha256 = "sha256-AFFY+FcY9ExAur13OoWR9285RZtBe6jnRIrwi5raiCM=";
}; };

View File

@ -8,7 +8,7 @@ mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Governikus"; owner = "Governikus";
repo = "AusweisApp2"; repo = "AusweisApp2";
rev = "${version}"; rev = version;
sha256 = "1vibk3wmn54qr2mwz537hrr959y0r1zabp0gsijhzj2mk68g9pnb"; sha256 = "1vibk3wmn54qr2mwz537hrr959y0r1zabp0gsijhzj2mk68g9pnb";
}; };

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "electrickite"; owner = "electrickite";
repo = "batsignal"; repo = "batsignal";
rev = "${version}"; rev = version;
sha256 = "12hj0j18db34x0xzgj6xmhvxm966d05z0rl3d9rlrcd2q96lilwf"; sha256 = "12hj0j18db34x0xzgj6xmhvxm966d05z0rl3d9rlrcd2q96lilwf";
}; };

View File

@ -7,8 +7,8 @@ mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "chewing"; owner = "chewing";
repo = "${pname}"; repo = pname;
rev = "${version}"; rev = version;
sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w"; sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w";
}; };

View File

@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "arsenetar"; owner = "arsenetar";
repo = "dupeguru"; repo = "dupeguru";
rev = "${version}"; rev = version;
sha256 = "0ma4f1c6vmpz8gi4sdy43x1ik7wh42wayvk1iq520d3i714kfcpy"; sha256 = "0ma4f1c6vmpz8gi4sdy43x1ik7wh42wayvk1iq520d3i714kfcpy";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -13,8 +13,8 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sanpii"; owner = "sanpii";
repo = "${pname}"; repo = pname;
rev = "${version}"; rev = version;
sha256 = "09bffxdp43s8b1rpmsgqr2kyz3i4jbd2yrwbxw21fj3sf3mwb9ig"; sha256 = "09bffxdp43s8b1rpmsgqr2kyz3i4jbd2yrwbxw21fj3sf3mwb9ig";
}; };

View File

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchgit { src = fetchgit {
url = "https://codeberg.org/dnkl/fuzzel"; url = "https://codeberg.org/dnkl/fuzzel";
rev = "${version}"; rev = version;
sha256 = "0c0p9spklzmy9f7abz3mvw0vp6zgnk3ns1i6ks95ljjb3kqy9vs2"; sha256 = "0c0p9spklzmy9f7abz3mvw0vp6zgnk3ns1i6ks95ljjb3kqy9vs2";
}; };

View File

@ -8,7 +8,7 @@ let
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pfn"; owner = "pfn";
repo = "keepasshttp"; repo = "keepasshttp";
#rev = "${version}"; # rev = version;
# for 1.8.4.2 the tag is at the wrong commit (they fixed stuff # for 1.8.4.2 the tag is at the wrong commit (they fixed stuff
# afterwards and didn't move the tag), hence reference by commitid # afterwards and didn't move the tag), hence reference by commitid
rev = "c2c4eb5388a02169400cba7a67be325caabdcc37"; rev = "c2c4eb5388a02169400cba7a67be325caabdcc37";

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "0nh5jnf5yls2qv5hpfhm6i854zsknyh7d93c987a0cg14sg820fv"; sha256 = "0nh5jnf5yls2qv5hpfhm6i854zsknyh7d93c987a0cg14sg820fv";
}; };

View File

@ -7,7 +7,7 @@ python3Packages.buildPythonApplication rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pwr-Solaar"; owner = "pwr-Solaar";
repo = "Solaar"; repo = "Solaar";
rev = "${version}"; rev = version;
sha256 = "0k5z9dap6rawiafkg1x7zjx51ala7wra6j6lvc2nn0y8r79yp7a9"; sha256 = "0k5z9dap6rawiafkg1x7zjx51ala7wra6j6lvc2nn0y8r79yp7a9";
}; };

View File

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "instrumenta"; owner = "instrumenta";
repo = "kubeval"; repo = "kubeval";
rev = "${version}"; rev = version;
sha256 = "05li0qv4q7fy2lr50r6c1r8dhx00jb1g01qmgc72a9zqp378yiq0"; sha256 = "05li0qv4q7fy2lr50r6c1r8dhx00jb1g01qmgc72a9zqp378yiq0";
}; };

View File

@ -10,7 +10,7 @@ mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "QMatrixClient"; owner = "QMatrixClient";
repo = "Quaternion"; repo = "Quaternion";
rev = "${version}"; rev = version;
sha256 = "0hqhg7l6wpkdbzrdjvrbqymmahziri07ba0hvbii7dd2p0h248fv"; sha256 = "0hqhg7l6wpkdbzrdjvrbqymmahziri07ba0hvbii7dd2p0h248fv";
}; };

View File

@ -10,7 +10,7 @@ mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "genonbeta"; owner = "genonbeta";
repo = "TrebleShot-Desktop"; repo = "TrebleShot-Desktop";
rev = "${version}"; rev = version;
sha256 = "1k8wagw6arsi1lqkhn1nl6j11mb122vi1qs0q2np6nznwfy7pn1k"; sha256 = "1k8wagw6arsi1lqkhn1nl6j11mb122vi1qs0q2np6nznwfy7pn1k";
}; };

View File

@ -10,7 +10,7 @@ python3Packages.buildPythonApplication rec {
src = fetchFromBitbucket { src = fetchFromBitbucket {
owner = "jpcgt"; owner = "jpcgt";
repo = "${pname}"; repo = pname;
rev = "533afd6a1772857cb633c011b5e0a15b60b1e92e"; # 8.5 with Red Hat packaging. rev = "533afd6a1772857cb633c011b5e0a15b60b1e92e"; # 8.5 with Red Hat packaging.
sha256 = "199kiiml18k34z1zhk2hbhibphmnv0kb11kxiajq52alps0mjb3m"; sha256 = "199kiiml18k34z1zhk2hbhibphmnv0kb11kxiajq52alps0mjb3m";
}; };

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "potassco"; owner = "potassco";
repo = "${pname}"; repo = pname;
rev = "v${version}"; rev = "v${version}";
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "1q7517h10jfvjdk2czq8d6y57r8kr1j1jj2k2ip2qxkpyfigk4rs"; sha256 = "1q7517h10jfvjdk2czq8d6y57r8kr1j1jj2k2ip2qxkpyfigk4rs";

View File

@ -7,7 +7,7 @@ buildPythonApplication rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "c4urself"; owner = "c4urself";
repo = "${pname}"; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "10p7rg569rk3qvzs5kjj17894bqlsg3ihhbln6ciwwfhkfq1kpja"; sha256 = "10p7rg569rk3qvzs5kjj17894bqlsg3ihhbln6ciwwfhkfq1kpja";
}; };
@ -16,12 +16,12 @@ buildPythonApplication rec {
# X's in pytest are git tests which won't run in sandbox # X's in pytest are git tests which won't run in sandbox
checkPhase = '' checkPhase = ''
pytest tests/ -k 'not usage_string_fork' pytest tests/ -k 'not usage_string_fork'
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Version-bump your software with a single command"; description = "Version-bump your software with a single command";
longDescription = '' longDescription = ''
A small command line tool to simplify releasing software by updating A small command line tool to simplify releasing software by updating
all version strings in your source code by the correct increment. all version strings in your source code by the correct increment.
''; '';
homepage = "https://github.com/c4urself/bump2version"; homepage = "https://github.com/c4urself/bump2version";

View File

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gabrie30"; owner = "gabrie30";
repo = "ghorg"; repo = "ghorg";
rev = "${version}"; rev = version;
sha256 = "0diwndkckv6fga45j9zngizycn5m71r67cziv0zrx6c66ssbj49w"; sha256 = "0diwndkckv6fga45j9zngizycn5m71r67cziv0zrx6c66ssbj49w";
}; };

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zayronxio"; owner = "zayronxio";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "05h8qm9izjbp8pnl9jpbw3y9sddhp0zmg94fm1k4d4hhdqnakqhv"; sha256 = "05h8qm9izjbp8pnl9jpbw3y9sddhp0zmg94fm1k4d4hhdqnakqhv";
}; };

View File

@ -1,11 +1,13 @@
{ stdenv, fetchgit, gtk-engine-murrine }: { stdenv, fetchFromGitHub, gtk-engine-murrine }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "orion-1.5"; pname = "orion";
version = "1.5";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/shimmerproject/Orion.git"; owner = "shimmerproject";
rev = "refs/tags/v1.5"; repo = "Orion";
rev = "refs/tags/v${version}";
sha256 = "1116yawv3fspkiq1ykk2wj0gza3l04b5nhldy0bayzjaj0y6fd89"; sha256 = "1116yawv3fspkiq1ykk2wj0gza3l04b5nhldy0bayzjaj0y6fd89";
}; };

View File

@ -22,10 +22,10 @@ stdenv.mkDerivation rec {
version = "3.22.11"; version = "3.22.11";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME"; owner = "GNOME";
repo = pname; repo = pname;
domain = "gitlab.gnome.org"; rev = version;
rev = "${version}";
sha256 = "1asm0y6485xqsysdg586y3hzz8bhxqwnc82k6vhfnxpxz7l62qa1"; sha256 = "1asm0y6485xqsysdg586y3hzz8bhxqwnc82k6vhfnxpxz7l62qa1";
}; };

View File

@ -7,7 +7,7 @@
let let
release_version = "11.0.0"; release_version = "11.0.0";
version = "${release_version}"; # differentiating these (variables) is important for RCs version = release_version; # differentiating these (variables) is important for RCs
targetConfig = stdenv.targetPlatform.config; targetConfig = stdenv.targetPlatform.config;
fetch = name: sha256: fetchurl { fetch = name: sha256: fetchurl {

View File

@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "acl2-devel"; owner = "acl2-devel";
repo = "acl2-devel"; repo = "acl2-devel";
rev = "${version}"; rev = version;
sha256 = "0c0wimaf16nrr3d6cxq6p7nr7rxffvpmn66hkpwc1m6zpcipf0y5"; sha256 = "0c0wimaf16nrr3d6cxq6p7nr7rxffvpmn66hkpwc1m6zpcipf0y5";
}; };

View File

@ -145,7 +145,7 @@ stdenv.mkDerivation {
src = fetchgit { src = fetchgit {
url = "https://github.com/anmonteiro/lumo.git"; url = "https://github.com/anmonteiro/lumo.git";
rev = "${version}"; rev = version;
sha256 = "12agi6bacqic2wq6q3l28283badzamspajmajzqm7fbdl2aq1a4p"; sha256 = "12agi6bacqic2wq6q3l28283badzamspajmajzqm7fbdl2aq1a4p";
}; };

View File

@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bytecodealliance"; owner = "bytecodealliance";
repo = "${pname}"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "01k1fpk2qp4kv0xr4f0xmrjkr98j5ws48r1aks8l80mffs4ynqfr"; sha256 = "01k1fpk2qp4kv0xr4f0xmrjkr98j5ws48r1aks8l80mffs4ynqfr";
fetchSubmodules = true; fetchSubmodules = true;

View File

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cminyard"; owner = "cminyard";
repo = "${pname}"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "07m8rbdk05biarc9xskwcx9lghj0dff1msxasfc6hi3jywc3xaih"; sha256 = "07m8rbdk05biarc9xskwcx9lghj0dff1msxasfc6hi3jywc3xaih";
}; };

View File

@ -1,11 +1,12 @@
{ stdenv, fetchgit, libtool, autoconf, automake }: { stdenv, fetchFromGitHub, libtool, autoconf, automake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libmkv"; pname = "libmkv";
version = "0.6.5.1"; version = "0.6.5.1";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/saintdev/libmkv.git"; owner = "saintdev";
repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "0pr9q7yprndl8d15ir7i7cznvmf1yqpvnsyivv763n6wryssq6dl"; sha256 = "0pr9q7yprndl8d15ir7i7cznvmf1yqpvnsyivv763n6wryssq6dl";
}; };

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rhdunn"; owner = "rhdunn";
repo = "pcaudiolib"; repo = "pcaudiolib";
rev = "${version}"; rev = version;
sha256 = "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0"; sha256 = "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0";
}; };

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wiiuse"; owner = "wiiuse";
repo = "wiiuse"; repo = "wiiuse";
rev = "${version}"; rev = version;
sha256 = "05gc3s0wxx7ga4g32yyibyxdh46rm9bbslblrc72ynrjxq98sg13"; sha256 = "05gc3s0wxx7ga4g32yyibyxdh46rm9bbslblrc72ynrjxq98sg13";
}; };

View File

@ -30,7 +30,7 @@ let
src = fetchFromBitbucket { src = fetchFromBitbucket {
owner = "multicoreware"; owner = "multicoreware";
repo = "x265_git"; repo = "x265_git";
rev = "${version}"; rev = version;
sha256 = "1jzgv2hxhcwmsdf6sbgyzm88a46dp09ll1fqj92g9vckvh9a7dsn"; sha256 = "1jzgv2hxhcwmsdf6sbgyzm88a46dp09ll1fqj92g9vckvh9a7dsn";
}; };

View File

@ -7,7 +7,7 @@ buildDunePackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inhabitedtype"; owner = "inhabitedtype";
repo = "ocaml-dispatch"; repo = "ocaml-dispatch";
rev = "${version}"; rev = version;
sha256 = "05kb9zcihk50r2haqz8vrlr7kmaka6vrs4j1z500lmnl877as6qr"; sha256 = "05kb9zcihk50r2haqz8vrlr7kmaka6vrs4j1z500lmnl877as6qr";
}; };

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lindig"; owner = "lindig";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "04lv98nxmzanvyn4c0k6k0ax29f5xfdl8qzpf5hwadslq213a044"; sha256 = "04lv98nxmzanvyn4c0k6k0ax29f5xfdl8qzpf5hwadslq213a044";
}; };

View File

@ -13,7 +13,7 @@ buildDunePackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inhabitedtype"; owner = "inhabitedtype";
repo = "ocaml-webmachine"; repo = "ocaml-webmachine";
rev = "${version}"; rev = version;
sha256 = "1zi1vsm589y2njwzsqkmdbxvs9s4xlgbd62xqw2scp60mccp09nk"; sha256 = "1zi1vsm589y2njwzsqkmdbxvs9s4xlgbd62xqw2scp60mccp09nk";
}; };

View File

@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jimfunk"; owner = "jimfunk";
repo = "${pname}"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1rrh38f3zl3jk5ijs6g75dxxvxygf4lczbgc7ahrgzf58g4a48lm"; sha256 = "1rrh38f3zl3jk5ijs6g75dxxvxygf4lczbgc7ahrgzf58g4a48lm";
}; };

View File

@ -1,6 +1,6 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchgit , fetchFromGitHub
, requests , requests
, webob , webob
}: }:
@ -9,8 +9,9 @@ buildPythonPackage rec {
pname = "hawkauthlib"; pname = "hawkauthlib";
version = "0.1.1"; version = "0.1.1";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/mozilla-services/hawkauthlib.git"; owner = "mozilla-services";
repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi"; sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi";
}; };

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "stuko"; owner = "stuko";
repo = "${pname}"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0rm1qxa0fanaaqg0idr6rf2s2xlbyn1dzjzwh3rddy9mgl60lj2h"; sha256 = "0rm1qxa0fanaaqg0idr6rf2s2xlbyn1dzjzwh3rddy9mgl60lj2h";
}; };

View File

@ -7,7 +7,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "spatialaudio"; owner = "spatialaudio";
repo = "python-pa-ringbuffer"; repo = "python-pa-ringbuffer";
rev = "${version}"; rev = version;
sha256 = "0afpydy1l20hd1xncjppjhqa2c8dj5h9nlv4z8m55cs9hc9h1mxv"; sha256 = "0afpydy1l20hd1xncjppjhqa2c8dj5h9nlv4z8m55cs9hc9h1mxv";
}; };

View File

@ -11,7 +11,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "olucurious"; owner = "olucurious";
repo = "pyfcm"; repo = "pyfcm";
rev = "${version}"; rev = version;
sha256 = "0aj10yvjsc04j15zbn403i83j7ra5yg35pi3ywkyakk8n1s0s3qg"; sha256 = "0aj10yvjsc04j15zbn403i83j7ra5yg35pi3ywkyakk8n1s0s3qg";
}; };

View File

@ -1,14 +1,15 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchgit , fetchFromGitHub
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pykka"; pname = "pykka";
version = "2.0.1"; version = "2.0.1";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/jodal/pykka.git"; owner = "jodal";
repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "011rvv3vzj9rpwaq6vfpz9hfwm6gx1jmad4iri6z12g8nnlpydhs"; sha256 = "011rvv3vzj9rpwaq6vfpz9hfwm6gx1jmad4iri6z12g8nnlpydhs";
}; };

View File

@ -1,6 +1,6 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchgit , fetchFromGitHub
, pyramid , pyramid
, hawkauthlib , hawkauthlib
, tokenlib , tokenlib
@ -8,11 +8,12 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyramidhawkauth"; pname = "pyramid_hawkauth";
version = "0.1.0"; version = "0.1.0";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/mozilla-services/pyramid_hawkauth.git"; owner = "mozilla-services";
repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h"; sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h";
}; };

View File

@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "spatialaudio"; owner = "spatialaudio";
repo = "python-rtmixer"; repo = "python-rtmixer";
rev = "${version}"; rev = version;
sha256 = "1bvgzzxiypvvb3qacbcry6761x9sk3dnx7jga7pli63f69vakg4y"; sha256 = "1bvgzzxiypvvb3qacbcry6761x9sk3dnx7jga7pli63f69vakg4y";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alvations"; owner = "alvations";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "1gzr56w8yx82mn08wax5m0xyg15ym4ri5l80gmagp8r53443j770"; sha256 = "1gzr56w8yx82mn08wax5m0xyg15ym4ri5l80gmagp8r53443j770";
}; };

View File

@ -1,6 +1,6 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchgit , fetchFromGitHub
, canonicaljson , canonicaljson
, unpaddedbase64 , unpaddedbase64
, pynacl , pynacl
@ -11,8 +11,9 @@ buildPythonPackage rec {
pname = "signedjson"; pname = "signedjson";
version = "1.1.0"; version = "1.1.0";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/matrix-org/python-signedjson.git"; owner = "matrix-org";
repo = "python-${pname}";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "18s388hm3babnvakbbgfqk0jzq25nnznvhygywd3azp9b4yzmd5c"; sha256 = "18s388hm3babnvakbbgfqk0jzq25nnznvhygywd3azp9b4yzmd5c";
}; };

View File

@ -31,7 +31,7 @@ let
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tensorflow"; owner = "tensorflow";
repo = "probability"; repo = "probability";
rev = "${version}"; rev = version;
sha256 = "07cm8zba8n0ihzdm3k4a4rsg5v62xxsfvcw4h0niz91c0parqjqy"; sha256 = "07cm8zba8n0ihzdm3k4a4rsg5v62xxsfvcw4h0niz91c0parqjqy";
}; };

View File

@ -1,6 +1,6 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchgit , fetchFromGitHub
, requests , requests
, webob , webob
}: }:
@ -9,8 +9,9 @@ buildPythonPackage rec {
pname = "tokenlib"; pname = "tokenlib";
version = "0.3.1"; version = "0.3.1";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/mozilla-services/tokenlib.git"; owner = "mozilla-services";
repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8"; sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8";
}; };

View File

@ -1,14 +1,15 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchgit , fetchFromGitHub
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "unpaddedbase64"; pname = "unpaddedbase64";
version = "1.1.0"; version = "1.1.0";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/matrix-org/python-unpaddedbase64.git"; owner = "matrix-org";
repo = "python-${pname}";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "0if3fjfxga0bwdq47v77fs9hrcqpmwdxry2i2a7pdqsp95258nxd"; sha256 = "0if3fjfxga0bwdq47v77fs9hrcqpmwdxry2i2a7pdqsp95258nxd";
}; };

View File

@ -7,7 +7,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xd009642"; owner = "xd009642";
repo = "tarpaulin"; repo = "tarpaulin";
rev = "${version}"; rev = version;
sha256 = "0ga2zfq4365hxvr3wd3isc146ibivy3bfcy24rb6cq3av3b90a8k"; sha256 = "0ga2zfq4365hxvr3wd3isc146ibivy3bfcy24rb6cq3av3b90a8k";
}; };

View File

@ -135,8 +135,7 @@ in stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "avast-tl"; owner = "avast-tl";
repo = "retdec"; repo = pname;
name = "retdec-${version}";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "0chky656lsddn20bnm3pmz6ix20y4a0y8swwr42hrhi01vkhmzrp"; sha256 = "0chky656lsddn20bnm3pmz6ix20y4a0y8swwr42hrhi01vkhmzrp";
}; };

View File

@ -31,7 +31,7 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "eclipse-mat"; pname = "eclipse-mat";
version = "${pVersion}"; version = pVersion;
src = fetchurl { src = fetchurl {
url = "http://ftp.halifax.rwth-aachen.de/eclipse//mat/${baseVersion}/rcp/MemoryAnalyzer-${version}-linux.gtk.x86_64.zip"; url = "http://ftp.halifax.rwth-aachen.de/eclipse//mat/${baseVersion}/rcp/MemoryAnalyzer-${version}-linux.gtk.x86_64.zip";

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "matejak"; owner = "matejak";
repo = "argbash"; repo = "argbash";
rev = "${version}"; rev = version;
sha256 = "1xdhpbnc0xjv6ydcm122hhdjcl77jhiqnccjfqjp3cd1lfmzvg8v"; sha256 = "1xdhpbnc0xjv6ydcm122hhdjcl77jhiqnccjfqjp3cd1lfmzvg8v";
}; };

View File

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "editorconfig-checker"; owner = "editorconfig-checker";
repo = "editorconfig-checker"; repo = "editorconfig-checker";
rev = "${version}"; rev = version;
sha256 = "18gz94h2x1z6g6r7v9cdixkbcaigd7cl08af6smlkaa89j0aki32"; sha256 = "18gz94h2x1z6g6r7v9cdixkbcaigd7cl08af6smlkaa89j0aki32";
}; };

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kost"; owner = "kost";
repo = "${pname}"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "08kzkzd5a1wfd1aycywdynxh3qy6n7z9i8lihkahmb4xac3chmz5"; sha256 = "08kzkzd5a1wfd1aycywdynxh3qy6n7z9i8lihkahmb4xac3chmz5";
}; };

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CoatiSoftware"; owner = "CoatiSoftware";
repo = "Sourcetrail"; repo = "Sourcetrail";
rev = "${version}"; rev = version;
sha256 = "0jp9y86xzkcxikc1cn4f6gqgg6zdssck08677ldagw25p1zadvzw"; sha256 = "0jp9y86xzkcxikc1cn4f6gqgg6zdssck08677ldagw25p1zadvzw";
}; };

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nicklockwood"; owner = "nicklockwood";
repo = "SwiftFormat"; repo = "SwiftFormat";
rev = "${version}"; rev = version;
sha256 = "0zajvbaf3r02k53lv5zdxf13apc6chnjmj69zkyac48lpnpbcxq6"; sha256 = "0zajvbaf3r02k53lv5zdxf13apc6chnjmj69zkyac48lpnpbcxq6";
}; };

View File

@ -9,7 +9,7 @@ mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Cockatrice"; owner = "Cockatrice";
repo = "Cockatrice"; repo = "Cockatrice";
rev = "${version}"; rev = version;
sha256 = "1yaxm7q0ja3rgx197hh8ynjc6ncc4hm0qdn9v7f0l4fbv0bdpv34"; sha256 = "1yaxm7q0ja3rgx197hh8ynjc6ncc4hm0qdn9v7f0l4fbv0bdpv34";
}; };

View File

@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
src = fetchgit { src = fetchgit {
url = "https://git.sr.ht/~nicohman/eidolon"; url = "https://git.sr.ht/~nicohman/eidolon";
rev = "${version}"; rev = version;
sha256 = "1yn3k569pxzw43mmsk97088xpkdc714rks3ncchbb6ccx25kgxrr"; sha256 = "1yn3k569pxzw43mmsk97088xpkdc714rks3ncchbb6ccx25kgxrr";
}; };
cargoPatches = [ ./cargo-lock.patch ]; cargoPatches = [ ./cargo-lock.patch ];

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Stabyourself"; owner = "Stabyourself";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "1zqaq4w599scsjvy1rsb21fd2r8j3srx9vym4ir9bh666dp36gxa"; sha256 = "1zqaq4w599scsjvy1rsb21fd2r8j3srx9vym4ir9bh666dp36gxa";
}; };

View File

@ -1,11 +1,12 @@
{ stdenv, mkDerivation, fetchgit, qt5, box2d, which, cmake, gettext }: { stdenv, mkDerivation, fetchFromGitHub, qt5, box2d, which, cmake, gettext }:
mkDerivation rec { mkDerivation rec {
pname = "tbe"; pname = "tbe";
version = "0.9.3.1"; version = "0.9.3.1";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/kaa-ching/tbe"; owner = "kaa-ching";
repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "1ag2cp346f9bz9qy6za6q54id44d2ypvkyhvnjha14qzzapwaysj"; sha256 = "1ag2cp346f9bz9qy6za6q54id44d2ypvkyhvnjha14qzzapwaysj";
}; };

View File

@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
src = fetchgit { src = fetchgit {
url = "https://git.sr.ht/~nicohman/wyvern"; url = "https://git.sr.ht/~nicohman/wyvern";
rev = "${version}"; rev = version;
sha256 = "1sl3yhash1527amc8rs4374fd7jbgnkyy7qpw94ms2gs80sdv3s5"; sha256 = "1sl3yhash1527amc8rs4374fd7jbgnkyy7qpw94ms2gs80sdv3s5";
}; };
cargoPatches = [ ./cargo-lock.patch ]; cargoPatches = [ ./cargo-lock.patch ];

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AmatCoder"; owner = "AmatCoder";
repo = "mednaffe"; repo = "mednaffe";
rev = "${version}"; rev = version;
sha256 = "15qk3a3l1phr8bap2ayh3c0vyvw2jwhny1iz1ajq2adyjpm9fhr7"; sha256 = "15qk3a3l1phr8bap2ayh3c0vyvw2jwhny1iz1ajq2adyjpm9fhr7";
}; };

View File

@ -7,7 +7,7 @@ buildGoModule rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "digitalocean"; owner = "digitalocean";
repo = "do-agent"; repo = "do-agent";
rev = "${version}"; rev = version;
sha256 = "16mmh1kz6zbncfisd9qnb3ssgpkcb4hb7700jlzbdjqxyjmy0qsf"; sha256 = "16mmh1kz6zbncfisd9qnb3ssgpkcb4hb7700jlzbdjqxyjmy0qsf";
}; };

View File

@ -10,7 +10,7 @@ buildGoModule rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "timescale"; owner = "timescale";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "sha256:00mhkp3nf6h2zsvmmwyza1lahvmm05isfi7rqkx24c0dmkmif3x9"; sha256 = "sha256:00mhkp3nf6h2zsvmmwyza1lahvmm05isfi7rqkx24c0dmkmif3x9";
}; };

View File

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cminyard"; owner = "cminyard";
repo = "${pname}"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "01w82nrgffsfz2c80p4cyppg3bz56d90jm6i6356j0nva3784haw"; sha256 = "01w82nrgffsfz2c80p4cyppg3bz56d90jm6i6356j0nva3784haw";
}; };

View File

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "splitbrain"; owner = "splitbrain";
repo = "${pname}"; repo = pname;
rev = "release_stable_${version}"; rev = "release_stable_${version}";
sha256 = "09swcqyd06l3481k190gmlr3b33dlv1lw1kk9nyh5b4sa5p3k7kk"; sha256 = "09swcqyd06l3481k190gmlr3b33dlv1lw1kk9nyh5b4sa5p3k7kk";
}; };

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "mojo42"; owner = "mojo42";
repo = "Jirafeau"; repo = "Jirafeau";
rev = "${version}"; rev = version;
sha256 = "09gq5zhynygpqj0skq7ifnn9yjjg7qnc6kjvaas7f53av2707z4c"; sha256 = "09gq5zhynygpqj0skq7ifnn9yjjg7qnc6kjvaas7f53av2707z4c";
}; };

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "RSS-Bridge"; owner = "RSS-Bridge";
repo = "rss-bridge"; repo = "rss-bridge";
rev = "${version}"; rev = version;
sha256 = "075k4bylx9308d083ry5a9q4629ccnrnndqqdqp1g42rzlqrw79q"; sha256 = "075k4bylx9308d083ry5a9q4629ccnrnndqqdqp1g42rzlqrw79q";
}; };

View File

@ -1,12 +1,13 @@
{ stdenv, fetchgit, gtk2, cmake, pkgconfig, libXdamage }: { stdenv, fetchFromGitHub, gtk2, cmake, pkgconfig, libXdamage }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.4.2"; version = "0.4.2";
pname = "xwinmosaic"; pname = "xwinmosaic";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/soulthreads/xwinmosaic/"; owner = "soulthreads";
rev = "refs/tags/v0.4.2"; repo = pname;
rev = "refs/tags/v${version}";
sha256 = "16qhrpgn84fz0q3nfvaz5sisc82zk6y7c0sbvbr69zfx5fwbs1rr"; sha256 = "16qhrpgn84fz0q3nfvaz5sisc82zk6y7c0sbvbr69zfx5fwbs1rr";
}; };

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "scsitape"; owner = "scsitape";
repo = "stenc"; repo = "stenc";
rev = "${version}"; rev = version;
sha256 = "1778m1zcyzyf42k5m496yqh0gv6kqhb0sq5983dhky1fccjl905k"; sha256 = "1778m1zcyzyf42k5m496yqh0gv6kqhb0sq5983dhky1fccjl905k";
}; };

View File

@ -1,10 +1,13 @@
{stdenv, fetchgit, cmake} : {stdenv, fetchFromGitHub, cmake} :
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "ddate-0.2.2"; pname = "ddate";
src = fetchgit { version = "0.2.2";
url = "https://github.com/bo0ts/ddate";
rev = "refs/tags/v0.2.2"; src = fetchFromGitHub {
owner = "bo0ts";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f"; sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f";
}; };
@ -14,7 +17,7 @@ stdenv.mkDerivation {
homepage = "https://github.com/bo0ts/ddate"; homepage = "https://github.com/bo0ts/ddate";
description = "Discordian version of the date program"; description = "Discordian version of the date program";
license = stdenv.lib.licenses.publicDomain; license = stdenv.lib.licenses.publicDomain;
maintainers = with stdenv.lib.maintainers; [kovirobi]; maintainers = with stdenv.lib.maintainers; [ kovirobi ];
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
}; };
} }

View File

@ -8,7 +8,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "NerdyPepper"; owner = "NerdyPepper";
repo = "${pname}"; repo = pname;
rev = "6ce0fc0212a34ffb647b24d9d903029ac4518165"; rev = "6ce0fc0212a34ffb647b24d9d903029ac4518165";
sha256 = "10242vnq2ph0g3p2hdacs4lmx3f474xm04nadplxbpv9xh4nbag3"; sha256 = "10242vnq2ph0g3p2hdacs4lmx3f474xm04nadplxbpv9xh4nbag3";
}; };

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nix-community"; owner = "nix-community";
repo = "nix-direnv"; repo = "nix-direnv";
rev = "${version}"; rev = version;
sha256 = "sha256-xMz6e0OLeB3eltGrLV3Hew0lMjH5LSgqJ1l7JT2Ho/M="; sha256 = "sha256-xMz6e0OLeB3eltGrLV3Hew0lMjH5LSgqJ1l7JT2Ho/M=";
}; };

View File

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "thkukuk"; owner = "thkukuk";
repo = "${pname}"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "006l1f824r9bcbwn1s1vbs33cdwhs66jn6v97yas597y884y40z9"; sha256 = "006l1f824r9bcbwn1s1vbs33cdwhs66jn6v97yas597y884y40z9";
}; };

View File

@ -9,7 +9,7 @@ buildGoPackage rec {
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "shackra"; owner = "shackra";
repo = "goimapnotify"; repo = "goimapnotify";
rev = "${version}"; rev = version;
sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42"; sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42";
}; };

View File

@ -9,7 +9,7 @@ in stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "firecat53"; owner = "firecat53";
repo = "networkmanager-dmenu"; repo = "networkmanager-dmenu";
rev = "${version}"; rev = version;
sha256 = "1liidqh8c33pxyb07qyj0jkd0fdak73g9r2iwiq62vfzrpik09k0"; sha256 = "1liidqh8c33pxyb07qyj0jkd0fdak73g9r2iwiq62vfzrpik09k0";
}; };

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "epam"; owner = "epam";
repo = "nfstrace"; repo = "nfstrace";
rev = "${version}"; rev = version;
sha256 = "1djsyn7i3xp969rnmsdaf5vwjiik9wylxxrc5nm7by00i76c1vsg"; sha256 = "1djsyn7i3xp969rnmsdaf5vwjiik9wylxxrc5nm7by00i76c1vsg";
}; };

View File

@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "EmbarkStudios"; owner = "EmbarkStudios";
repo = "cargo-about"; repo = "cargo-about";
rev = "${version}"; rev = version;
sha256 = "00ing1v6vjqfvirp3mbayn8rwvxf72wnhz9249k2iifw8bl2r2hd"; sha256 = "00ing1v6vjqfvirp3mbayn8rwvxf72wnhz9249k2iifw8bl2r2hd";
}; };

View File

@ -1,16 +1,16 @@
# This file was generated by go2nix. # This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchgit }: { stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec { buildGoPackage rec {
pname = "gx"; pname = "gx";
version = "0.14.1"; version = "0.14.1";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/whyrusleeping/gx"; goPackagePath = "github.com/whyrusleeping/gx";
src = fetchgit { src = fetchFromGitHub {
inherit rev; owner = "whyrusleeping";
url = "https://github.com/whyrusleeping/gx"; repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0pfx2p59xdbmqzfbgaf8xvlnzh8m05hkg596glq5kvl8ib65i4ha"; sha256 = "0pfx2p59xdbmqzfbgaf8xvlnzh8m05hkg596glq5kvl8ib65i4ha";
}; };

View File

@ -1,18 +1,18 @@
# This file was generated by go2nix. # This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchgit { stdenv, buildGoPackage, fetchFromGitHub
, gx , gx
}: }:
buildGoPackage rec { buildGoPackage rec {
pname = "gx-go"; pname = "gx-go";
version = "1.9.0"; version = "1.9.0";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/whyrusleeping/gx-go"; goPackagePath = "github.com/whyrusleeping/gx-go";
src = fetchgit { src = fetchFromGitHub {
inherit rev; owner = "whyrusleeping";
url = "https://github.com/whyrusleeping/gx-go"; repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0fdy4b3ymqw6hzvvjwq37mfrdmizc8lxm53axw93n3x6118na9jc"; sha256 = "0fdy4b3ymqw6hzvvjwq37mfrdmizc8lxm53axw93n3x6118na9jc";
}; };

View File

@ -1,13 +1,14 @@
{ stdenv, fetchgit, pkgconfig, autoconf, automake, openssl, libgsf, gmp }: { stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, openssl, libgsf, gmp }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "crackxls"; pname = "crackxls";
version = "0.4"; version = "0.4";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/GavinSmith0123/crackxls2003.git"; owner = "GavinSmith0123";
rev = "refs/tags/v${version}"; repo = "crackxls2003";
rev = "v${version}";
sha256 = "0q5jl7hcds3f0rhly3iy4fhhbyh9cdrfaw7zdrazzf1wswwhyssz"; sha256 = "0q5jl7hcds3f0rhly3iy4fhhbyh9cdrfaw7zdrazzf1wswwhyssz";
}; };

View File

@ -10,7 +10,7 @@ let
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "0dcl5a5jykgfmnfj42vl7kah9k26wg38l2g6yfh5pssmlf0nax33"; sha256 = "0dcl5a5jykgfmnfj42vl7kah9k26wg38l2g6yfh5pssmlf0nax33";
}; };

View File

@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
src = fetchCrate { src = fetchCrate {
inherit version; inherit version;
crateName = "${pname}"; crateName = pname;
sha256 = "0p37kwkp153mkns4bh7k7gnksk6c31214wlw3faf42daav32mmgw"; sha256 = "0p37kwkp153mkns4bh7k7gnksk6c31214wlw3faf42daav32mmgw";
}; };

View File

@ -7,7 +7,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "RustScan"; owner = "RustScan";
repo = pname; repo = pname;
rev = "${version}"; rev = version;
sha256 = "0dhy7b73ipsxsr7wlc3r5yy39i3cjrdszhsw9xwjj31692s3b605"; sha256 = "0dhy7b73ipsxsr7wlc3r5yy39i3cjrdszhsw9xwjj31692s3b605";
}; };

View File

@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zacchiro"; owner = "zacchiro";
repo = "ledger2beancount"; repo = "ledger2beancount";
rev = "${version}"; rev = version;
sha256 = "0w88jb1x0w02jwwf6ipx3cxr89kzffrrdqws3556zrvvs01bh84j"; sha256 = "0w88jb1x0w02jwwf6ipx3cxr89kzffrrdqws3556zrvvs01bh84j";
}; };