Merge pull request #41162 from ryantm/name-format

treewide: fix derivation names
This commit is contained in:
Matthew Justin Bauer
2018-05-28 13:58:17 -04:00
committed by GitHub
59 changed files with 131 additions and 119 deletions

View File

@@ -1,8 +1,9 @@
{ stdenv, fetchFromGitHub, pythonPackages, httpie }:
pythonPackages.buildPythonApplication rec {
pname = "http-prompt";
version = "0.11.1";
name = "http-prompt";
name = "${pname}-${version}";
src = fetchFromGitHub {
rev = "v${version}";
@@ -21,7 +22,7 @@ pythonPackages.buildPythonApplication rec {
];
checkPhase = ''
$out/bin/${name} --version | grep -q "${version}"
$out/bin/${pname} --version | grep -q "${version}"
'';
meta = with stdenv.lib; {

View File

@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, openssl, libpcap }:
stdenv.mkDerivation rec {
name = "ssldump";
name = "ssldump-${version}";
version = "0.9b3";
src = fetchFromGitHub {